import time
with open("C:\\Users\\Administrator\\Desktop\\cicdTest.txt","a") as f:
    sys_time = time.strftime("%Y-%m-%d %H:%M:%S",time.localtime())+"\n"
    print(sys_time)
    f.write(sys_time)